<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>vue02</title>
    <script src="./vue.min.js"></script>
</head>
<body>
    <!-- vue的一些指令 -->
    <div id="app">
        <p v-for="item in items">
            {{item.msg}}
        </p>
    </div>
</body>
<script>
    // vue基本语法模板
    var vm = new Vue({
        el:'#app',
        data:{
            items:[
                {msg:"隔离屋啊键"},
                {msg:"隔离屋啊黄"},
                {msg:"隔离屋啊键"},
                {msg:"隔离屋啊黄"}
            ]
        }
    })
</script>
</html>